D | CodedInputStreamTest.cs | 47 private static byte[] Bytes(params int[] bytesAsInts) in Bytes() method in Google.Protobuf.CodedInputStreamTest 114 AssertReadVarint(Bytes(0x00), 0); in ReadVarint() 115 AssertReadVarint(Bytes(0x01), 1); in ReadVarint() 116 AssertReadVarint(Bytes(0x7f), 127); in ReadVarint() 118 AssertReadVarint(Bytes(0xa2, 0x74), (0x22 << 0) | (0x74 << 7)); in ReadVarint() 120 AssertReadVarint(Bytes(0xbe, 0xf7, 0x92, 0x84, 0x0b), in ReadVarint() 126 AssertReadVarint(Bytes(0xbe, 0xf7, 0x92, 0x84, 0x1b), in ReadVarint() 130 AssertReadVarint(Bytes(0x80, 0xe6, 0xeb, 0x9c, 0xc3, 0xc9, 0xa4, 0x49), in ReadVarint() 134 AssertReadVarint(Bytes(0x9b, 0xa8, 0xf9, 0xc2, 0xbb, 0xd6, 0x80, 0x85, 0xa6, 0x01), in ReadVarint() 142 Bytes(0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, in ReadVarint() [all …]
|