Fixed -1 that should have been null in CryptByteBufferType