/// <summary> /// Outputs the hexadecimial representaion of the of the input data. /// </summary> /// <param name="inputBytes"></param> /// <param name="path"></param> /// <param name="offset"></param> private void ConvertToHexidecimal(byte[] inputBytes, string path, UInt32 offset) { if (inputBytes != null) { ByteCollection byteCollectionObject = new ByteCollection(offset, inputBytes, path); WriteObject(byteCollectionObject); } }
private void WriteHexidecimal(byte[] inputBytes, string path, Int64 offset) { ByteCollection byteCollectionObject = new ByteCollection((UInt64)offset, inputBytes, path); WriteObject(byteCollectionObject); }
/// <summary> /// Outputs the hexadecimial representaion of the input data. /// </summary> /// <param name="inputBytes">Bytes for the hexadecimial representaion.</param> /// <param name="path">File path.</param> /// <param name="offset">Offset in the file.</param> private void WriteHexidecimal(Span <byte> inputBytes, string path, Int64 offset) { ByteCollection byteCollectionObject = new ByteCollection((UInt64)offset, inputBytes.ToArray(), path); WriteObject(byteCollectionObject); }
private void WriteHexadecimal(byte[] inputBytes, string path, long offset) { ByteCollection byteCollectionObject = new ByteCollection((ulong)offset, inputBytes, path); WriteObject(byteCollectionObject); }