MCPcopy Index your code
hub / github.com/codenameone/CodenameOne / write

Method write

vm/JavaAPI/src/java/io/DataOutput.java:34–34  ·  view source on GitHub ↗

Writes to the output stream all the bytes in array b. If b is null, a NullPointerException is thrown. If b.length is zero, then no bytes are written. Otherwise, the byte b[0] is written first, then b[1], and so on; the last byte written is b[b.length-1].

(byte[] b)

Source from the content-addressed store, hash-verified

32 * Writes to the output stream all the bytes in array b. If b is null, a NullPointerException is thrown. If b.length is zero, then no bytes are written. Otherwise, the byte b[0] is written first, then b[1], and so on; the last byte written is b[b.length-1].
33 */
34 public abstract void write(byte[] b) throws java.io.IOException;
35
36 /**
37 * Writes len bytes from array b, in order, to the output stream. If b is null, a NullPointerException is thrown. If off is negative, or len is negative, or off+len is greater than the length of the array b, then an IndexOutOfBoundsException is thrown. If len is zero, then no bytes are written. Otherwise, the byte b[off] is written first, then b[off+1], and so on; the last byte written is b[off+len-1].

Callers 15

runFunction · 0.65
appendFunction · 0.65
strip_fileFunction · 0.65
append_logMethod · 0.65
log_messageMethod · 0.65
do_GETMethod · 0.65
appendFunction · 0.65
writeRootRegistryMethod · 0.65
writePackageHelpersMethod · 0.65
writeRootFindClassMethod · 0.65
writeRootClassIndexMethod · 0.65
writeRootConstructMethod · 0.65

Implementers 2

DataOutputStreamPorts/CLDC11/src/java/io/DataOutputStr
DataOutputStreamvm/JavaAPI/src/java/io/DataOutputStrea

Calls

no outgoing calls

Tested by 15

ensureCodenameOneHomeMethod · 0.52
writeAsciiMethod · 0.52
writeIntLEMethod · 0.52
writeShortLEMethod · 0.52
testFileClassMethod · 0.52
runTestMethod · 0.52
compileMethod · 0.52
compileAndRunMethod · 0.52
translateBuildAndRunMethod · 0.52
writeReportMethod · 0.52