(and then I don't think you need the VARBINARY toObject code in PDataType, though we should still fix the stack overflow. Basically the VARBINARY toObject should return the byte[]. I'll file an issue for this.