mirror of
https://github.com/ClusterCockpit/cc-metric-store.git
synced 2025-09-13 20:23:01 +02: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