• About
  • Sponsor
  • grep::cpan
  • Recent
  • FAQ
  • Tools
  • API
    • Identities
    • Profile
    • Favorites
    • Logout
    • GitHub
    • Google
  • 01 Aug 2025 01:35:04 UTC
  • Distribution: Data-FastPack
  • Source (raw)
  • Browse (raw)
  • Changes
  • How to Contribute
  • Repository
  • Issues
  • Testers
  • Kwalitee Kwalitee Score
  • Bus factor: 1
  • License: mit
  • Activity
  • Activity Graph
    24 month
  • Tools
  • Download (17.81KB)
  • MetaCPAN Explorer
  • Permissions
  • Subscribe to distribution
    • Dependencies
    • Cpanel::JSON::XS
    • Data::MessagePack
    • Export::These
    • File::ShareDir
    • constant::more
    • and possibly others

    • Reverse dependencies
    • CPAN Testers List
    • Dependency graph
  • Permalinks
  • This version
  • Latest version
  • Authored by: DRCLAW
Ruben Westerberg  / 
Data-FastPack-v0.2.2
River stage one • 1 direct dependent • 1 total dependent
/ README.md
  • encode_message

  • encode_fastpack

    Encodes an array of fast pack message structures into an buffer

    Buffer is aliased and is an in/out parameter. Encoded data is appended to the buffer.

    Inputs is an array of message structure (also array refs). Array is consumed

    An optional limit can be sepecified on how many messages to encode in a single call

    Returns the number of bytes encoded

  • decode_message

  • decode_fastpack

    Consumes data from an input buffer and decodes it into 0 or more messages. Buffer is aliased and is an in/out parameter Decoded messages are added to the dereferenced output array An optional limit of message count can be specified.

    Returns the number of bytes consumed during decoding. I a message could not be decoded, 0 bytes are consumed.

    buffer (aliased) 
    output (array ref)
    limit (numeric)
    
    return (byte count)
    
MetaCPAN
About
Sponsor
grep::cpan
Recent
FAQ
Tools
API
Perl.org
Bytemark Datadog Deriv Elastic Fastly
Geolytica IBAN Liquid Web OpenCage The Perl and Raku Foundation

Keyboard Shortcuts

Global
s Focus search bar
? Bring up this help dialog
GitHub
g p Go to pull requests
g i go to github issues (only if github is preferred repository)
POD
g a Go to author
g c Go to changes
g i Go to issues
g d Go to dist
g r Go to repository/SCM
g s Go to source
g b Go to file browse
Search terms
module: (e.g. module:Plugin)
distribution: (e.g. distribution:Dancer auth)
author: (e.g. author:SONGMU Redis)
version: (e.g. version:1.00)