Efficient binary buffer operations.