Phs/decode empty constant

Turns out trying to decode the empty constant exercises a surprising corner case in java I/O.  Handle it explicitly.