String implements the fmt.Stringer interface.
()
| 86 | |
| 87 | // String implements the fmt.Stringer interface. |
| 88 | func (d BitArray) String() string { |
| 89 | var buf bytes.Buffer |
| 90 | d.Format(&buf) |
| 91 | return buf.String() |
| 92 | } |
| 93 | |
| 94 | // Clone makes a copy of the bit array. |
| 95 | func (d BitArray) Clone() BitArray { |
no test coverage detected