protected static bool ParseHeader(byte[] input, ref int pos, out Type type, out string length)
{
// FIXME: I'm getting an error if I don't asign these parameters, this is because
// I get out the method before asigned anything to those parameters
length = null;
// Here I get out of the method
if (!ParseType (input, ref pos, out type))
return false;
if (!ParseNoSpaceString (input, ref pos, out length))
return false;
// The next byte is null, so we skip it
pos++;
return true;
}