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 IByteBufferMapping

interface IByteBufferMapping
Extends ICloseable Mapping of a byte buffer into memory.

Methods

getSourceBuffer()

IByteBuffer* getSourceBuffer()
Get the byte buffer that we mapped

Returns

IByteBuffer* byte buffer object

getMapPointer()

NativePointer getMapPointer()
Get the raw pointer into the memory mapping. Note that the pointer is valid only until
  1. close() is called on this mapping object, or
  2. the last reference to this mapping object disappears,
whichever comes first.

Returns

NativePointer native pointer to mapping
Last modified on October 29, 2026