Lines Matching refs:LittleEndian
143 binary.Write(w, binary.LittleEndian, dbMagic)
144 binary.Write(w, binary.LittleEndian, curVersion)
145 binary.Write(w, binary.LittleEndian, version)
149 binary.Write(w, binary.LittleEndian, recMagic)
150 binary.Write(w, binary.LittleEndian, uint32(len(key)))
152 binary.Write(w, binary.LittleEndian, seq)
160 binary.Write(w, binary.LittleEndian, uint32(len(val)))
163 binary.Write(w, binary.LittleEndian, uint32(0))
173 …binary.Write(bytes.NewBuffer(w.Bytes()[lenPos:lenPos:lenPos+8]), binary.LittleEndian, uint32(len(w…
205 if err := binary.Read(r, binary.LittleEndian, &magic); err != nil {
214 if err := binary.Read(r, binary.LittleEndian, &ver); err != nil {
222 if err := binary.Read(r, binary.LittleEndian, &userVer); err != nil {
231 if err = binary.Read(r, binary.LittleEndian, &magic); err != nil {
239 if err = binary.Read(r, binary.LittleEndian, &keyLen); err != nil {
247 if err = binary.Read(r, binary.LittleEndian, &seq); err != nil {
254 if err = binary.Read(r, binary.LittleEndian, &valLen); err != nil {