mirror of
https://github.com/ClusterCockpit/cc-metric-store.git
synced 2025-12-25 00:26:16 +01:00
Binary deserialization
This commit is contained in:
7
internal/memstore/allocator.go
Normal file
7
internal/memstore/allocator.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package memstore
|
||||
|
||||
func RequestBytes(len int) []byte {
|
||||
// TODO: Use mmap etc...!
|
||||
|
||||
return make([]byte, len)
|
||||
}
|
||||
Reference in New Issue
Block a user