Пример #1
0
 /// <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);
     }
 }
Пример #2
0
        private void WriteHexidecimal(byte[] inputBytes, string path, Int64 offset)
        {
            ByteCollection byteCollectionObject = new ByteCollection((UInt64)offset, inputBytes, path);

            WriteObject(byteCollectionObject);
        }
Пример #3
0
        /// <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);
        }
Пример #4
0
        private void WriteHexadecimal(byte[] inputBytes, string path, long offset)
        {
            ByteCollection byteCollectionObject = new ByteCollection((ulong)offset, inputBytes, path);

            WriteObject(byteCollectionObject);
        }