Unknown TypeCode was returned: Byte


Im replacing my Memcached Tier with Couchbase, I have a byte? value; I dont have any problem using store but when I tried to get my byte? value using Get<byte?> Im getting an exception Unknown TypeCode was returned: Byte with Memchaced is working fine and for other types using Couchbase but not for Byte.

client.Store(StoreMode.Add, key, obj, timeSpan);


Please let me know your comments.

Couchbase dll version 1.3.9



Fixed. Enyim its not working with nullable. Instead what we did was serialize using json