blob: 784278534a373c1126447567d2102fb3c84dd673 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com>
//
// SPDX-License-Identifier: GPL-2.0-or-later
package btrfsitem
type FreeSpaceBitmap []byte // FREE_SPACE_BITMAP=200
func (o *FreeSpaceBitmap) UnmarshalBinary(dat []byte) (int, error) {
*o = dat
return len(dat), nil
}
func (o FreeSpaceBitmap) MarshalBinary() ([]byte, error) {
return []byte(o), nil
}
|