public BaseIOConfig(Stream zStream) { Flags = StreamUtil.ReadIntFromStream(zStream); VirtualKey = StreamUtil.ReadByteFromStream(zStream); StreamUtil.ReadBytesFromStream(zStream, 3); Parameter = StreamUtil.ReadIntFromStream(zStream); }
public BaseIOConfig(Stream zStream) { Flags = StreamUtil.ReadIntFromStream(zStream); VirtualKey = StreamUtil.ReadByteFromStream(zStream); // VirtualKey is only a byte so read the remaining padding bytes for the 32bit int StreamUtil.ReadBytesFromStream(zStream, 3); Parameter = StreamUtil.ReadIntFromStream(zStream); }