mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-05 08:10:50 +00:00
zero alloc WriteTo
This commit is contained in:
parent
eb98bdd8c6
commit
c418d73fa7
1 changed files with 1 additions and 1 deletions
|
|
@ -518,7 +518,7 @@ func (b *Bitmap) Optimize() {
|
|||
}
|
||||
}
|
||||
|
||||
//hoping this inines
|
||||
//hoping this in-lines
|
||||
func WriteUint16(w io.Writer, b []byte, v uint16) (int, error) {
|
||||
binary.LittleEndian.PutUint16(b, v)
|
||||
return w.Write(b)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue