(self: WriteBuffer)
| 288 | }; |
| 289 | |
| 290 | export const take = (self: WriteBuffer) => { |
| 291 | const impl = self as MutableBufferImpl<Write>; |
| 292 | |
| 293 | const slice = MutableBytes.asBuffer(impl.bytes).slice(0, impl.index); |
| 294 | |
| 295 | return slice; |
| 296 | }; |
no outgoing calls