public static bool HasBytesLeft(this HazelBinaryReader binRdr) { return(binRdr.GetBytesLeft() > 0); }
public static byte[] ReadBytesToEnd(this HazelBinaryReader binRdr) { return(binRdr.ReadBytes((int)binRdr.GetBytesLeft())); }