readInt8 method

int readInt8()

Implementation

int readInt8() {

    ByteData? data = read(1);

    if(data == null){
      throw 'no more data';
    }

    return data.getInt8(0);
}