MCPcopy Create free account
hub / github.com/coronalabs/corona / GetImageByteBuffer

Method GetImageByteBuffer

platform/android/ndk/AndroidImageData.cpp:277–280  ·  view source on GitHub ↗

Gets a pointer to the byte buffer created by the CreateImageByteBuffer() function. You are expected to copy an image's pixels to this byte buffer. @return Returns a pointer to the byte buffer. Returns NULL if a byte buffer has not been created by the CreateImageByteBuffer() function.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

GetBitsMethod · 0.80
OnDecodeFromMethod · 0.80
CopyBitmapMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected