Versions in this module Expand all Collapse all v0 v0.0.2 Nov 6, 2024 v0.0.1 Nov 5, 2024 Changes in this version + var ErrIntOverflowBatch = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthBatch = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupBatch = fmt.Errorf("proto: unexpected end of group") + type Batch struct + ChunkIndex uint32 + Data [][]byte + MaxChunks uint32 + Reference []byte + func New(buffs ...[]byte) *Batch + func NewChunk(chunkIndex uint32, reference []byte, maxChunks uint32, buffs ...[]byte) *Batch + func (*Batch) Descriptor() ([]byte, []int) + func (*Batch) ProtoMessage() + func (m *Batch) GetChunkIndex() uint32 + func (m *Batch) GetData() [][]byte + func (m *Batch) GetMaxChunks() uint32 + func (m *Batch) GetReference() []byte + func (m *Batch) Marshal() (dAtA []byte, err error) + func (m *Batch) MarshalTo(dAtA []byte) (int, error) + func (m *Batch) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Batch) Reset() + func (m *Batch) Size() (n int) + func (m *Batch) Unmarshal(dAtA []byte) error + func (m *Batch) XXX_DiscardUnknown() + func (m *Batch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Batch) XXX_Merge(src proto.Message) + func (m *Batch) XXX_Size() int + func (m *Batch) XXX_Unmarshal(b []byte) error + func (this *Batch) Equal(that interface{}) bool + func (this *Batch) GoString() string + func (this *Batch) String() string