MCPcopy Create free account
hub / github.com/PaoloKa/Interface-tool / encode

Method encode

src/sprite/Sprite.java:245–347  ·  view source on GitHub ↗

Encodes this Sprite into a ByteBuffer. Please note that this is a fairly simple implementation which only supports vertical encoding. It does not attempt to use the offsets to save space. @return The buffer. @throws IOException if an I/O exception occurs.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

pastComponent2Method · 0.45
addDefaultComponentMethod · 0.45

Calls 6

getWidthMethod · 0.80
getHeightMethod · 0.80
sizeMethod · 0.80
writeMethod · 0.45
writeShortMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected