Subject Re: [firebird-support] Re: Database for images
Author Ivan Prenosil
>> No, maximum is 32K-1.
>
> Oooops!
>
>
>> > Additionally, 64KB also fits into an *unsigned* short integer value.
>>
>> The same, maximum is 64K - 1.
>
> The range for a signed short is -32,768 to 32,767 -- this has 65,536
> values (== 64KB).

Yes.

> So, an unsigned short can support a value of 64KB.

No, you forgot to count zero value :)

Ivan