Initialize() public method

public Initialize ( byte Data, int Index ) : void
Data byte
Index int
return void
Example #1
0
    public static ByteArrayWriter CreateNew(int Length) {
      ByteArrayWriter writer = new ByteArrayWriter();

      byte[] data = new byte[Length];

      writer.Initialize(data, 0);

      return writer;
    }
Example #2
0
        public static ByteArrayWriter CreateNew(int Length)
        {
            ByteArrayWriter writer = new ByteArrayWriter();

            byte[] data = new byte[Length];

            writer.Initialize(data, 0);

            return(writer);
        }