Skip to content

Commit

Permalink
[Go] add fury go serialization framework (#954)
Browse files Browse the repository at this point in the history
add fury go serializer framework
  • Loading branch information
chaokunyang authored Oct 5, 2023
1 parent b46a03f commit 867f1ff
Show file tree
Hide file tree
Showing 5 changed files with 1,274 additions and 0 deletions.
6 changes: 6 additions & 0 deletions go/fury/buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,3 +317,9 @@ func (b *ByteBuffer) ReadVarInt32() int32 {
b.readerIndex = readerIndex
return result
}

type BufferObject interface {
TotalBytes() int
WriteTo(buf *ByteBuffer)
ToBuffer() *ByteBuffer
}
Loading

0 comments on commit 867f1ff

Please sign in to comment.