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

Method readLong

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

Reads eight input bytes and returns a long value. Let a be the first byte read, b be the second byte, c be the third byte, d be the fourth byte, e be the fifth byte, f be the sixth byte, g be the seventh byte, and h be the eighth byte. The value returned is: (((long)(a 0xff) 56) | ((long)(b 0xff) 48

()

Source from the content-addressed store, hash-verified

82 * This method is suitable for reading bytes written by the writeLong method of interface DataOutput.
83 */
84 public abstract long readLong() throws java.io.IOException;
85
86 /**
87 * Reads two input bytes and returns a short value. Let a be the first byte read and b be the second byte. The value returned is:

Callers 7

internalizeMethod · 0.65
readObjectMethod · 0.65
invoke2Method · 0.65
invoke19Method · 0.65
readResponseMethod · 0.65
readMethod · 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