Пример #1
0
 public static string ToString(byte[] data, int start, int length)
 {
     HexWriter hw = new HexWriter(data);
     hw.Start = start;
     hw.End = start + length;
     return hw.ToString();
 }
Пример #2
0
        public static string ToString(byte[] data, int start, int length)
        {
            HexWriter hw = new HexWriter(data);

            hw.Start = start;
            hw.End   = start + length;
            return(hw.ToString());
        }
Пример #3
0
		public static string ToString(Stream stream, int start, int length) {
			byte[] data = new byte[length];
			stream.Position = start;
			stream.Read(data, 0, length);

			HexWriter hw = new HexWriter(data);
			hw.Start = 0;
			hw.End = length;
			hw.Offset = start;
			return hw.ToString();
		}
Пример #4
0
        public static string ToString(Stream stream, int start, int length)
        {
            byte[] data = new byte[length];
            stream.Position = start;
            stream.Read(data, 0, length);

            HexWriter hw = new HexWriter(data);

            hw.Start  = 0;
            hw.End    = length;
            hw.Offset = start;
            return(hw.ToString());
        }