MCPcopy
hub / github.com/nats-io/nats.go / Bytes

Method Bytes

jetstream/kv.go:326–326  ·  view source on GitHub ↗

Bytes returns the size of the bucket in bytes.

()

Source from the content-addressed store, hash-verified

324
325 // Bytes returns the size of the bucket in bytes.
326 Bytes() uint64
327
328 // IsCompressed indicates if the data is compressed on disk.
329 IsCompressed() bool

Callers 9

WriteMethod · 0.65
GetBytesMethod · 0.65
headerBytesMethod · 0.65
flushPendingBufferMethod · 0.65
EncodeMethod · 0.65
EncodeMethod · 0.65
GetBytesMethod · 0.65
TestKeyValueStatusBytesFunction · 0.65

Implementers 1

KeyValueBucketStatusjetstream/kv.go

Calls

no outgoing calls

Tested by 2

TestKeyValueStatusBytesFunction · 0.52