コード例 #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
ファイル: Format-Hex.cs プロジェクト: yodalk/PowerShell
        private void WriteHexidecimal(byte[] inputBytes, string path, Int64 offset)
        {
            ByteCollection byteCollectionObject = new ByteCollection((UInt64)offset, inputBytes, path);

            WriteObject(byteCollectionObject);
        }
コード例 #3
0
ファイル: Format-Hex.cs プロジェクト: yodalk/PowerShell
        /// <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);
        }