public static bool ReadStopMarker(this BasePacket stream) { if (stream.CanRead()) { return(stream.ReadBool()); } return(false); }