You don't need to cast this either. We only use it on byte buffers.