private static int FormatLocation(byte[] buffer, int offset, IHeaderField headerField) { LocationHf location = (LocationHf)headerField; return(Encoding.ASCII.GetBytes(location.Location, 0, location.Location.Length, buffer, offset)); }
private static int FormattedLocationLength(IHeaderField field) { LocationHf location = (LocationHf)field; return(location.Location.Length); }