Compare commits

..

No commits in common. "master" and "v1.5.0" have entirely different histories.

1 changed files with 1 additions and 10 deletions

View File

@ -2,8 +2,8 @@ package bitmask

import (
"bytes"
"encoding/binary"
"errors"
"encoding/binary"
"math/bits"
)

@ -109,15 +109,6 @@ func (m *MaskBit) Bytes(trim bool) (b []byte) {
return
}

// Copy returns a pointer to a (new) copy of a MaskBit.
func (m *MaskBit) Copy() (newM *MaskBit) {

newM = new(MaskBit)
*newM = *m

return
}

// Value returns the current raw uint value of a MaskBit.
func (m *MaskBit) Value() (v uint) {