Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IBinaryOutputStream

interface IBinaryOutputStream
Extends com.amazon.apmf.ICloseable Not implemented. This content describes future functionality. Defines common functionality for binary output stream.

Methods

write()

i32 write(i8[] buffer)
Not implemented. This content describes future functionality. Write a buffer into this writer

Parameters

buffer
i8[] — Required The buffer to be written.

Returns

i32 How many bytes were written.

Throws

  • IoError — when error occurs during writing.

flush()

void flush()
Not implemented. This content describes future functionality. Flush this output stream, ensuring that all intermediately buffered contents reach their destination. On unbuffered streams this is a no-op. It is not an equivalent of fsync.

Throws

  • IoError — when error occurs during flushing.

Last modified on October 29, 2026