public static bool CanRead(this IBinaryStreamReader reader, int size) { return (reader.Position - reader.StartPosition) + size <= reader.Length; }