Construct Generator with provided policy and bufferPool
@param policy the policy to use
@param validating true to enable RFC frame validation
@param readOnly true if generator is to treat frames as read-only and not modify them. Useful for debugging purposes, but not generally for runtime use.
Construct Generator with provided policy and bufferPool
@param policy the policy to use @param validating true to enable RFC frame validation @param readOnly true if generator is to treat frames as read-only and not modify them. Useful for debugging purposes, but not generally for runtime use.