Debian Codegraph @

writer_test.go

raw symbols SCIP
1 package barescip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/
2
3 import (
4 "bytesscip-go gomod github.com/golang/go/src go1.14 bytes/"
5 "mathscip-go gomod github.com/golang/go/src go1.14 math/"
6 "testingscip-go gomod github.com/golang/go/src go1.14 testing/"
7
8 "github.com/stretchr/testify/assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/"
9 )
10
11 func TestWriteUintscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/TestWriteUint().(t *testingscip-go gomod github.com/golang/go/src go1.14 testing/.Tscip-go gomod github.com/golang/go/src go1.14 testing/T#) {
12 b := bytesscip-go gomod github.com/golang/go/src go1.14 bytes/.NewBufferscip-go gomod github.com/golang/go/src go1.14 bytes/NewBuffer().([]byte{})
13 w := NewWriterscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/NewWriter().(b)
14
15 err := w.WriteUintscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/Writer#WriteUint().(0x7F)
16 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Nilscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Nil().(t, err)
17 err = w.WriteUintscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/Writer#WriteUint().(0x1337)
18 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Nilscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Nil().(t, err)
19 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Equal().(t, []byte{0x7F, 0xB7, 0x26}, b.Bytesscip-go gomod github.com/golang/go/src go1.14 bytes/Buffer#Bytes().())
20 }
21
22 func TestWriteU8scip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/TestWriteU8().(t *testingscip-go gomod github.com/golang/go/src go1.14 testing/.Tscip-go gomod github.com/golang/go/src go1.14 testing/T#) {
23 b := bytesscip-go gomod github.com/golang/go/src go1.14 bytes/.NewBufferscip-go gomod github.com/golang/go/src go1.14 bytes/NewBuffer().([]byte{})
24 w := NewWriterscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/NewWriter().(b)
25 err := w.WriteU8scip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/Writer#WriteU8().(uint8(0x42))
26 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Nilscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Nil().(t, err)
27 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Equal().(t, []byte{0x42}, b.Bytesscip-go gomod github.com/golang/go/src go1.14 bytes/Buffer#Bytes().())
28 }
29
30 func TestWriteU16scip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/TestWriteU16().(t *testingscip-go gomod github.com/golang/go/src go1.14 testing/.Tscip-go gomod github.com/golang/go/src go1.14 testing/T#) {
31 b := bytesscip-go gomod github.com/golang/go/src go1.14 bytes/.NewBufferscip-go gomod github.com/golang/go/src go1.14 bytes/NewBuffer().([]byte{})
32 w := NewWriterscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/NewWriter().(b)
33 err := w.WriteU16scip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/Writer#WriteU16().(uint16(0xCAFE))
34 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Nilscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Nil().(t, err)
35 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Equal().(t, []byte{0xFE, 0xCA}, b.Bytesscip-go gomod github.com/golang/go/src go1.14 bytes/Buffer#Bytes().())
36 }
37
38 func TestWriteU32scip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/TestWriteU32().(t *testingscip-go gomod github.com/golang/go/src go1.14 testing/.Tscip-go gomod github.com/golang/go/src go1.14 testing/T#) {
39 b := bytesscip-go gomod github.com/golang/go/src go1.14 bytes/.NewBufferscip-go gomod github.com/golang/go/src go1.14 bytes/NewBuffer().([]byte{})
40 w := NewWriterscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/NewWriter().(b)
41 err := w.WriteU32scip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/Writer#WriteU32().(uint32(0xDEADBEEF))
42 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Nilscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Nil().(t, err)
43 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Equal().(t, []byte{0xEF, 0xBE, 0xAD, 0xDE}, b.Bytesscip-go gomod github.com/golang/go/src go1.14 bytes/Buffer#Bytes().())
44 }
45
46 func TestWriteU64scip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/TestWriteU64().(t *testingscip-go gomod github.com/golang/go/src go1.14 testing/.Tscip-go gomod github.com/golang/go/src go1.14 testing/T#) {
47 b := bytesscip-go gomod github.com/golang/go/src go1.14 bytes/.NewBufferscip-go gomod github.com/golang/go/src go1.14 bytes/NewBuffer().([]byte{})
48 w := NewWriterscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/NewWriter().(b)
49 err := w.WriteU64scip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/Writer#WriteU64().(uint64(0xCAFEBABEDEADBEEF))
50 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Nilscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Nil().(t, err)
51 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Equal().(t, []byte{0xEF, 0xBE, 0xAD, 0xDE, 0xBE, 0xBA, 0xFE, 0xCA}, b.Bytesscip-go gomod github.com/golang/go/src go1.14 bytes/Buffer#Bytes().())
52 }
53
54 func TestWriteIntscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/TestWriteInt().(t *testingscip-go gomod github.com/golang/go/src go1.14 testing/.Tscip-go gomod github.com/golang/go/src go1.14 testing/T#) {
55 b := bytesscip-go gomod github.com/golang/go/src go1.14 bytes/.NewBufferscip-go gomod github.com/golang/go/src go1.14 bytes/NewBuffer().([]byte{})
56 w := NewWriterscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/NewWriter().(b)
57
58 err := w.WriteIntscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/Writer#WriteInt().(42)
59 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Nilscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Nil().(t, err)
60 err = w.WriteIntscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/Writer#WriteInt().(-1337)
61 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Nilscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Nil().(t, err)
62 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Equal().(t, []byte{0x54, 0xf1, 0x14}, b.Bytesscip-go gomod github.com/golang/go/src go1.14 bytes/Buffer#Bytes().())
63 }
64
65 func TestWriteI8scip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/TestWriteI8().(t *testingscip-go gomod github.com/golang/go/src go1.14 testing/.Tscip-go gomod github.com/golang/go/src go1.14 testing/T#) {
66 b := bytesscip-go gomod github.com/golang/go/src go1.14 bytes/.NewBufferscip-go gomod github.com/golang/go/src go1.14 bytes/NewBuffer().([]byte{})
67 w := NewWriterscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/NewWriter().(b)
68 err := w.WriteI8scip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/Writer#WriteI8().(int8(-42))
69 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Nilscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Nil().(t, err)
70 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Equal().(t, []byte{0xD6}, b.Bytesscip-go gomod github.com/golang/go/src go1.14 bytes/Buffer#Bytes().())
71 }
72
73 func TestWriteI16scip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/TestWriteI16().(t *testingscip-go gomod github.com/golang/go/src go1.14 testing/.Tscip-go gomod github.com/golang/go/src go1.14 testing/T#) {
74 b := bytesscip-go gomod github.com/golang/go/src go1.14 bytes/.NewBufferscip-go gomod github.com/golang/go/src go1.14 bytes/NewBuffer().([]byte{})
75 w := NewWriterscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/NewWriter().(b)
76 err := w.WriteI16scip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/Writer#WriteI16().(int16(-1234))
77 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Nilscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Nil().(t, err)
78 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Equal().(t, []byte{0x2E, 0xFB}, b.Bytesscip-go gomod github.com/golang/go/src go1.14 bytes/Buffer#Bytes().())
79 }
80
81 func TestWriteI32scip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/TestWriteI32().(t *testingscip-go gomod github.com/golang/go/src go1.14 testing/.Tscip-go gomod github.com/golang/go/src go1.14 testing/T#) {
82 b := bytesscip-go gomod github.com/golang/go/src go1.14 bytes/.NewBufferscip-go gomod github.com/golang/go/src go1.14 bytes/NewBuffer().([]byte{})
83 w := NewWriterscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/NewWriter().(b)
84 err := w.WriteI32scip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/Writer#WriteI32().(int32(-12345678))
85 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Nilscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Nil().(t, err)
86 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Equal().(t, []byte{0xB2, 0x9E, 0x43, 0xFF}, b.Bytesscip-go gomod github.com/golang/go/src go1.14 bytes/Buffer#Bytes().())
87 }
88
89 func TestWriteI64scip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/TestWriteI64().(t *testingscip-go gomod github.com/golang/go/src go1.14 testing/.Tscip-go gomod github.com/golang/go/src go1.14 testing/T#) {
90 b := bytesscip-go gomod github.com/golang/go/src go1.14 bytes/.NewBufferscip-go gomod github.com/golang/go/src go1.14 bytes/NewBuffer().([]byte{})
91 w := NewWriterscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/NewWriter().(b)
92 err := w.WriteI64scip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/Writer#WriteI64().(int64(-12345678987654321))
93 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Nilscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Nil().(t, err)
94 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Equal().(t, []byte{0x4F, 0x0B, 0x6E, 0x9D, 0xAB, 0x23, 0xD4, 0xFF}, b.Bytesscip-go gomod github.com/golang/go/src go1.14 bytes/Buffer#Bytes().())
95 }
96
97 func TestWriteF32scip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/TestWriteF32().(t *testingscip-go gomod github.com/golang/go/src go1.14 testing/.Tscip-go gomod github.com/golang/go/src go1.14 testing/T#) {
98 b := bytesscip-go gomod github.com/golang/go/src go1.14 bytes/.NewBufferscip-go gomod github.com/golang/go/src go1.14 bytes/NewBuffer().([]byte{})
99 w := NewWriterscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/NewWriter().(b)
100 err := w.WriteF32scip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/Writer#WriteF32().(float32(1337.42))
101 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Nilscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Nil().(t, err)
102 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Equal().(t, []byte{0x71, 0x2D, 0xA7, 0x44}, b.Bytesscip-go gomod github.com/golang/go/src go1.14 bytes/Buffer#Bytes().())
103
104 err = w.WriteF32scip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/Writer#WriteF32().(float32(mathscip-go gomod github.com/golang/go/src go1.14 math/.NaNscip-go gomod github.com/golang/go/src go1.14 math/NaN().()))
105 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.NotNilscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/NotNil().(t, err)
106 }
107
108 func TestWriteF64scip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/TestWriteF64().(t *testingscip-go gomod github.com/golang/go/src go1.14 testing/.Tscip-go gomod github.com/golang/go/src go1.14 testing/T#) {
109 b := bytesscip-go gomod github.com/golang/go/src go1.14 bytes/.NewBufferscip-go gomod github.com/golang/go/src go1.14 bytes/NewBuffer().([]byte{})
110 w := NewWriterscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/NewWriter().(b)
111 err := w.WriteF64scip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/Writer#WriteF64().(float64(133713371337.42424242))
112 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Nilscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Nil().(t, err)
113 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Equal().(t, []byte{0x9B, 0x6C, 0xC9, 0x20, 0xF0, 0x21, 0x3F, 0x42}, b.Bytesscip-go gomod github.com/golang/go/src go1.14 bytes/Buffer#Bytes().())
114
115 err = w.WriteF64scip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/Writer#WriteF64().(mathscip-go gomod github.com/golang/go/src go1.14 math/.NaNscip-go gomod github.com/golang/go/src go1.14 math/NaN().())
116 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.NotNilscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/NotNil().(t, err)
117 }
118
119 func TestWriteBoolscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/TestWriteBool().(t *testingscip-go gomod github.com/golang/go/src go1.14 testing/.Tscip-go gomod github.com/golang/go/src go1.14 testing/T#) {
120 b := bytesscip-go gomod github.com/golang/go/src go1.14 bytes/.NewBufferscip-go gomod github.com/golang/go/src go1.14 bytes/NewBuffer().([]byte{})
121 w := NewWriterscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/NewWriter().(b)
122 err := w.WriteBoolscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/Writer#WriteBool().(false)
123 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Nilscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Nil().(t, err)
124 err = w.WriteBoolscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/Writer#WriteBool().(true)
125 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Nilscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Nil().(t, err)
126 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Equal().(t, []byte{0x00, 0x01}, b.Bytesscip-go gomod github.com/golang/go/src go1.14 bytes/Buffer#Bytes().())
127 }
128
129 func TestWriteStringscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/TestWriteString().(t *testingscip-go gomod github.com/golang/go/src go1.14 testing/.Tscip-go gomod github.com/golang/go/src go1.14 testing/T#) {
130 b := bytesscip-go gomod github.com/golang/go/src go1.14 bytes/.NewBufferscip-go gomod github.com/golang/go/src go1.14 bytes/NewBuffer().([]byte{})
131 w := NewWriterscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/NewWriter().(b)
132 err := w.WriteStringscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/Writer#WriteString().("こんにちは、世界!")
133 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Nilscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Nil().(t, err)
134 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Equal().(t, []byte{0x1B, 0xE3, 0x81, 0x93, 0xE3, 0x82, 0x93, 0xE3,
135 0x81, 0xAB, 0xE3, 0x81, 0xA1, 0xE3, 0x81, 0xAF, 0xE3, 0x80, 0x81, 0xE4,
136 0xB8, 0x96, 0xE7, 0x95, 0x8C, 0xEF, 0xBC, 0x81},
137 b.Bytesscip-go gomod github.com/golang/go/src go1.14 bytes/Buffer#Bytes().())
138 }
139
140 func TestWriteDataFixedscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/TestWriteDataFixed().(t *testingscip-go gomod github.com/golang/go/src go1.14 testing/.Tscip-go gomod github.com/golang/go/src go1.14 testing/T#) {
141 b := bytesscip-go gomod github.com/golang/go/src go1.14 bytes/.NewBufferscip-go gomod github.com/golang/go/src go1.14 bytes/NewBuffer().([]byte{})
142 w := NewWriterscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/NewWriter().(b)
143 err := w.WriteDataFixedscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/Writer#WriteDataFixed().([]byte{0x13, 0x37, 0x42})
144 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Nilscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Nil().(t, err)
145 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Equal().(t, []byte{0x13, 0x37, 0x42}, b.Bytesscip-go gomod github.com/golang/go/src go1.14 bytes/Buffer#Bytes().())
146 }
147
148 func TestWriteDatascip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/TestWriteData().(t *testingscip-go gomod github.com/golang/go/src go1.14 testing/.Tscip-go gomod github.com/golang/go/src go1.14 testing/T#) {
149 b := bytesscip-go gomod github.com/golang/go/src go1.14 bytes/.NewBufferscip-go gomod github.com/golang/go/src go1.14 bytes/NewBuffer().([]byte{})
150 w := NewWriterscip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/NewWriter().(b)
151 err := w.WriteDatascip-go gomod git.sr.ht/~sircmpwn/go-bare . `git.sr.ht/~sircmpwn/go-bare`/Writer#WriteData().([]byte{0x13, 0x37, 0x42})
152 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Nilscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Nil().(t, err)
153 assertscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.6.1 `github.com/stretchr/testify/assert`/Equal().(t, []byte{0x03, 0x13, 0x37, 0x42}, b.Bytesscip-go gomod github.com/golang/go/src go1.14 bytes/Buffer#Bytes().())
154 }