BitSharp.Core.DataEncoder.EncodeTxLookupKey C# (CSharp) 메소드

EncodeTxLookupKey() 공개 정적인 메소드

public static EncodeTxLookupKey ( TxLookupKey txLookupKey ) : byte[]
txLookupKey BitSharp.Core.Domain.TxLookupKey
리턴 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