Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
stumpy_jpeg
master
StumpyJPEG
BitReader
BitWriter
ColorModel
Grayscale
YCbCr
Component
Definition
Selector
Datastream
Huffman
Table
JPEG
Markers
Quantization
Table
Segment
APP
COM
DHT
DQT
DRI
EOI
SOF
SOI
SOS
Transformation
Built with Crystal 1.9.2
2023-10-07 20:58:55 UTC
class
StumpyJPEG::BitWriter
StumpyJPEG::BitWriter
Reference
Object
Defined in:
stumpy_jpeg/bitio.cr
Constructors
.new
(io : IO)
Instance Method Summary
#flush
(padding_bit : Int32 =
1
)
#write_bit
(bit : Int32)
#write_bits
(number : Int32, bit_count : Int32)
Constructor Detail
def self.
new
(io : IO)
#
[
View source
]
Instance Method Detail
def
flush
(padding_bit : Int32 =
1
)
#
[
View source
]
def
write_bit
(bit : Int32)
#
[
View source
]
def
write_bits
(number : Int32, bit_count : Int32)
#
[
View source
]