Ferreteria/v0.6/fx/RemoveBytes

From Woozle Writes Code
< Ferreteria‎ | v0.6‎ | fx
Revision as of 14:35, 11 December 2025 by Woozle (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

About

  • Action: removes bytes from a buffer
    • ...presumably because they have been processed, but actually right now this just removes all of the bytes and you have to put back the ones you don't use. This seems awkward. #TODO: fix

Usage

clade require implement call notes
IO\Aspect\Connx\Buffer function RemoveBytes() : string; yes as of 2025-12-11:
  • get entire contents of the buffer
  • increment "spent" counter by content length
  • empty the buffer
  • return retrieved contents
IO\Aspect\Connx\Buffer\File\Reader yes in IO\Aspect\Connx\Buffer\File\Reader: parent::IO\Aspect\Connx\Buffer()
IO\Aspect\Connx\Process in Run(), SendFromBuffer(), BufferToStream()
Sys\Data\Engine\Oper\MyMar in NewSchemaList()