Goedel.Cryptography.KeyFile.DataBuffer.Allocate C# (CSharp) Method

Allocate() public method

public Allocate ( ) : void
return void
        public void Allocate() {
            Data = new byte[Length];
            }

Usage Example

        public override byte[] Encode() {
            var DataBuffer = new DataBuffer();

            DataBuffer.Size(Tag);
            DataBuffer.Size(P);
            DataBuffer.Size(Q);
            DataBuffer.Size(G);
            DataBuffer.Size(Y);

            DataBuffer.Allocate();

            DataBuffer.Encode(Tag);
            DataBuffer.Encode(P);
            DataBuffer.Encode(Q);
            DataBuffer.Encode(G);
            DataBuffer.Encode(Y);

            return DataBuffer.Data;
            }
All Usage Examples Of Goedel.Cryptography.KeyFile.DataBuffer::Allocate