readInt static method

Future<int> readInt(
  1. ByteStream in_
)

Deserialize an int variable.

@param in the stream to be read @return the deserialized integer value @throws IOException if an exception occurs while writing to the stream

Implementation

static Future<int> readInt(ByteStream in_) async {
  castTest('int', intUid, await readRawLong(in_));
  return readRawInt(in_);
}