MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / readUTF

Method readUTF

vm/JavaAPI/src/java/io/DataInput.java:114–114  ·  view source on GitHub ↗

Reads in a string that has been encoded using a modified UTF-8 format. The general contract of readUTF is that it reads a representation of a Unicode character string encoded in Java modified UTF-8 format; this string of characters is then returned as a String. First, two bytes are read and used to

()

Source from the content-addressed store, hash-verified

112 * The writeUTF method of interface DataOutput may be used to write data that is suitable for reading by this method.
113 */
114 public abstract java.lang.String readUTF() throws java.io.IOException;
115
116 /**
117 * Makes an attempt to skip over n bytes of data from the input stream, discarding the skipped bytes. However, it may skip over some smaller number of bytes, possibly zero. This may result from any of a number of conditions; reaching end of file before n bytes have been skipped is only one possibility. This method never throws an EOFException. The actual number of bytes skipped is returned.

Callers 15

internalizeMethod · 0.65
internalizeMethod · 0.65
readObjectMethod · 0.65
readUTFMethod · 0.65
readCommandMethod · 0.65
postCreateComponentsMethod · 0.65
readCommandsMethod · 0.65
readRenderererMethod · 0.65
createComponentMethod · 0.65
readTimelineMethod · 0.65

Implementers 2

DataInputStreamPorts/CLDC11/src/java/io/DataInputStre
DataInputStreamvm/JavaAPI/src/java/io/DataInputStream

Calls

no outgoing calls

Tested by

no test coverage detected