Exemplo n.º 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();
 }
Exemplo n.º 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());
        }
Exemplo n.º 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();
		}
Exemplo n.º 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());
        }