BitSharp.Core.DataEncoder.EncodeTxLookupKey C# (CSharp) Method

EncodeTxLookupKey() public static method

public static EncodeTxLookupKey ( TxLookupKey txLookupKey ) : byte[]
txLookupKey BitSharp.Core.Domain.TxLookupKey
return byte[]
        public static byte[] EncodeTxLookupKey(TxLookupKey txLookupKey)
        {
            using (var stream = new MemoryStream())
            using (var writer = new BinaryWriter(stream))
            {
                EncodeTxLookupKey(writer, txLookupKey);
                return stream.ToArray();
            }
        }

Same methods

DataEncoder::EncodeTxLookupKey ( BinaryWriter writer, TxLookupKey txLookupKey ) : void