static ZoneOffset readOffset(DataInput in) throws IOException {
  int offsetByte=in.readByte();
  return (offsetByte == 127 ? ZoneOffset.ofTotalSeconds(in.readInt()) : ZoneOffset.ofTotalSeconds(offsetByte * 900));
}

static ZoneOffset readOffset ( DataInput in ) throws IOException { int offsetByte = in . readByte ( ) ; return ( offsetByte == 127 ? ZoneOffset . ofTotalSeconds ( in . readInt ( ) ) : ZoneOffset . ofTotalSeconds ( offsetByte * 900 ) ) ; }
reads the state from the stream .
