crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
2aa11235
ROOT
/
go
/
store
/
types
/
codec.go
Search
History
511 lines
|
ISO-8859-1
|
10 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
initialBufferSize
EncodeValue
(v Value, nbf *NomsBinFormat)
:
(chunks.Chunk, error)
decodeFromBytes
(data []byte, vrw ValueReadWriter)
:
(Value, error)
decodeFromBytesWithValidation
(data []byte, vrw ValueReadWriter)
:
(Value, error)
DecodeValue
(c chunks.Chunk, vrw ValueReadWriter)
:
(Value, error)
nomsWriter
writeBool
(b bool)
writeCount
(count uint64)
writeHash
(h hash.Hash)
writeFloat
(v Float, nbf *NomsBinFormat)
writeInt
(v Int)
writeUint
(v Uint)
writeString
(v string)
writeUint8
(v uint8)
writeUint16
(v uint16)
writeRaw
(buff []byte)
binaryNomsReader
buff
:
[]byte
offset
:
uint32
unrolledDecodeUVarint
(buf []byte)
:
(uint64, int)
unrolledDecodeVarint
(buf []byte)
:
(int64, int)
binaryNomsWriter
buff
:
[]byte
offset
:
uint32
newBinaryNomsWriterWithSizeHint
(sizeHint uint64)
:
binaryNomsWriter
newBinaryNomsWriter
()
:
binaryNomsWriter
GigsHalf
Gigs2
*binaryNomsReader
readBytes
(count uint32)
:
[]byte
readCopyOfBytes
(count uint32)
:
[]byte
skipBytes
(count uint32)
pos
()
:
uint32
readUint8
()
:
uint8
peekUint8
()
:
uint8
skipUint8
()
readUint16
()
:
uint16
readUint24
()
:
uint32
PeekKind
()
:
NomsKind
ReadKind
()
:
NomsKind
skipKind
()
readCount
()
:
uint64
skipCount
()
ReadFloat
(nbf *NomsBinFormat)
:
float64
ReadDecimal
()
:
(decimal.Decimal, error)
ReadTimestamp
()
:
(time.Time, error)
skipFloat
(nbf *NomsBinFormat)
skipInt
()
ReadInt
()
:
int64
ReadUint
()
:
uint64
skipUint
()
ReadBool
()
:
bool
skipBool
()
ReadString
()
:
string
ReadInlineBlob
()
:
[]byte
readSerialMessage
()
:
[]byte
ReadUUID
()
:
uuid.UUID
skipString
()
readHash
()
:
hash.Hash
skipHash
()
byteSlice
(start, end uint32)
:
[]byte
*binaryNomsWriter
data
()
:
[]byte
reset
()
ensureCapacity
(n uint32)
writeUint8
(v uint8)
writeCount
(v uint64)
writeInt
(v Int)
writeUint
(v Uint)
writeUint16
(v uint16)
writeFloat
(v Float, nbf *NomsBinFormat)
writeBool
(v bool)
writeString
(v string)
writeHash
(h hash.Hash)
writeRaw
(buff []byte)
All occurrences
Please wait...
Page is in error, reload to recover