Skip to content

Instantly share code, notes, and snippets.

@ponylang-gist
Created October 30, 2018 09:11
use "buffered"
actor Main
new create(env: Env) =>
let reader = Reader
while true do
reader.append(data_from_somewhere)
if reader.u128_available() then
let u: U128 = reader.u128()
// ... more ...
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment