コード例 #1
0
ファイル: Given_Buffer.cs プロジェクト: MartinZikmund/Uno
        private static Buffer GetFilledBuffer(uint capacity = 42, uint length = 42, byte data = D)
        {
            var buffer = new Buffer(capacity)
            {
                Length = length
            };

            buffer.Fill(0, length, data);
            return(buffer);
        }