@view and padded() on a SampleBuf do not return a SampleBuf and so effectively lose metadata. We should re-wrap those, but that can only be done if SampleBuf accepts AbstractArrays, which it currently doesn't.
Will need to raise a PR and wait for it to be merged before this can be fixed.
@view
andpadded()
on aSampleBuf
do not return aSampleBuf
and so effectively lose metadata. We should re-wrap those, but that can only be done ifSampleBuf
acceptsAbstractArrays
, which it currently doesn't.Will need to raise a PR and wait for it to be merged before this can be fixed.