Plucen...Stream(3pm)
β¨ Plucene::Store::OutputStream π
okay bestie, welcome to the Plucene::Store::OutputStream page β it's a perl module living in the User Contributed Perl Documentation section, and it's literally the plumbing that makes Plucene's index writing go brrr. π¦
πΈ SYNOPSIS
# isa Plucene::Store::InputStream
no cap, that's the whole synopsis. it's giving "abstract class, know your role." π
π DESCRIPTION
so here's the tea β β this is an abstract class for output to a file in a Directory. it's a random-access output stream, and it's the one doing all the heavy lifting for every single Plucene index output operation. main character energy, honestly. π
π METHODS
β new
Create a new Plucene::Store::OutputStream. fresh out the box, brand new, slay. β¨
β clone
Clone this. same vibe, different object. π«Ά
β fh / read / seek / tell / getc / print / eof / close
File operations. the whole lil squad of them: fh, read, seek, tell, getc, print, eof, and close. all of them. no skips. π
β write_byte
This will write a single byte. one. uno. that's it, that's the method. π
β write_int
This will write an int as four bytes. four bytes, exactly, don't @ me. π₯
β write_vint
This will write an int in a variable length format. so like, size may vary, iykyk. π
β write_long
This will write a long as eight bytes. eight. octet energy. π
β write_vlong
This will write a long in variable length format. same variable-length vibe, but long. π
β write_string
This will write a string. just a string. out it goes. π
lowkey important reminder bestie: this is an abstract class, so don't go instantiating it and expecting a whole personality. it's the blueprint, not the build. π
and that's the whole page, fr fr β brought to you by perl v5.36.0, dated 2022-12-04, straight from the User Contributed Perl Documentation. mwah, go write some streams ππΈ
π¦ where this page comes from
- debian bookworm: libplucene-perl 1.25-5
- debian trixie: libplucene-perl 1.25-5
- ubuntu noble: libplucene-perl 1.25-5
- ubuntu resolute: libplucene-perl 1.25-5
- ubuntu stonking: libplucene-perl 1.25-5
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms