Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Writing BoolValue #109

Open
terfender opened this issue Sep 18, 2021 · 0 comments
Open

Writing BoolValue #109

terfender opened this issue Sep 18, 2021 · 0 comments

Comments

@terfender
Copy link

Hello there,

I cannot write a TrueClass or FalseClass bin. I found that BoolValue raises an exception when writing.

    def write(buffer, offset)
      raise Exception.new("Unreachable")
    end
    

May I know why? And what's the walk around in order to write a boolean? The DB is accessed by other services, so I would like to keep data type consistency.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant