GoCollections/lang/BitSet.go

15 lines
261 B
Go
Raw Normal View History

2022-11-25 18:19:33 +08:00
/*
* Copyright (c) 2022 tursom. All rights reserved.
* Use of this source code is governed by a GPL-3
* license that can be found in the LICENSE file.
*/
package lang
type (
BitSet interface {
BitLength() int
SetBit(bit int, up bool) (old bool)
}
)