public void unmarshal(DataInputStream dataStream) throws IOException { int length = dataStream.readByte() & 0xFF; if (length != 4) { throw new IOException(); } super.setLength(length); timeOffset = dataStream.readInt(); }
public TimeOffsetOption(int timeOffset) { super.setCode(TIME_OFFSET); super.setLength(4); this.timeOffset = timeOffset; }
public TimeOffsetOption() { super.setCode(TIME_OFFSET); }