public static string ReadFetchRecord(BinaryReader aReader)
{
byte[] bytes = aReader.ReadBytes(4);
string length = ASCIIEncoding.ASCII.GetString(bytes);
int len = int.Parse(length, System.Globalization.NumberStyles.HexNumber);
if (len == 0)
{
return (null);
}
bytes = aReader.ReadBytes(len - 4);
return (ASCIIEncoding.ASCII.GetString(bytes));
}