If the buffer is reset, ImmutableBytesPtr updates it's hash code.