String implements the fmt.Stringer interface.
()
| 92 | |
| 93 | // String implements the fmt.Stringer interface. |
| 94 | func (d BitArray) String() string { |
| 95 | var buf bytes.Buffer |
| 96 | d.Format(&buf) |
| 97 | return buf.String() |
| 98 | } |
| 99 | |
| 100 | // Clone makes a copy of the bit array. |
| 101 | func (d BitArray) Clone() BitArray { |
no test coverage detected