private Blake3ChunkState() { _n = Blake3Node.DefaultBlake3Node(); _block = new byte[BlockSizeInBytes]; _blockLen = 0; BytesConsumed = 0; }
} // end function Read public static Blake3OutputReader DefaultBlake3OutputReader() { Blake3OutputReader result = new Blake3OutputReader(); result.Block = new byte[BlockSizeInBytes]; result.N = Blake3Node.DefaultBlake3Node(); result.Offset = 0; return(result); } // end function Blake3OutputReader
} // end function Update public static Blake3ChunkState DefaultBlake3ChunkState() { Blake3ChunkState result = new Blake3ChunkState(); result.N = Blake3Node.DefaultBlake3Node(); result.Block = new byte[BlockSizeInBytes]; result.BlockLen = 0; result.BytesConsumed = 0; return(result); } // end function DefaultBlake3ChunkState
private Blake3OutputReader() { N = Blake3Node.DefaultBlake3Node(); _block = new byte[BlockSizeInBytes]; Offset = 0; }