Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
Renamed property length to rasterDataBufferSize
Browse files Browse the repository at this point in the history
  • Loading branch information
ISeleznev-HORIS committed Jul 21, 2020
1 parent b4fd441 commit bd86204
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,15 +172,15 @@ val BufferedImage.imageId: ImageId
val pixels = dataFieldByte.get(raster.dataBuffer) as ByteArray

ImageId.BufferedImageId(
length = pixels.size,
rasterDataBufferSize = pixels.size,
contentHash = pixels.contentHashCode()
)
}
is DataBufferInt -> {
val pixels = dataFieldInt.get(raster.dataBuffer) as IntArray

ImageId.BufferedImageId(
length = pixels.size,
rasterDataBufferSize = pixels.size,
contentHash = pixels.contentHashCode()
)
}
Expand Down

0 comments on commit bd86204

Please sign in to comment.