MCPcopy Index your code
hub / github.com/Sable/axml / write

Method write

src/pxb/android/StringItems.java:151–162  ·  view source on GitHub ↗
(ByteBuffer out)

Source from the content-addressed store, hash-verified

149 private boolean useUTF8 = true;
150
151 public void write(ByteBuffer out) throws IOException {
152 out.putInt(this.size());
153 out.putInt(0);// TODO style count
154 out.putInt(useUTF8 ? UTF8_FLAG : 0);
155 out.putInt(7 * 4 + this.size() * 4);
156 out.putInt(0);
157 for (StringItem item : this) {
158 out.putInt(item.dataOffset);
159 }
160 out.put(stringData);
161 // TODO
162 }
163}

Callers 1

prepareMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected