Example #1
0
        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));
        }
Example #2
0
        private static int FormattedLocationLength(IHeaderField field)
        {
            LocationHf location = (LocationHf)field;

            return(location.Location.Length);
        }