Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • asm asm
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • asmasm
  • asmasm
  • Merge requests
  • !337

Add getter for `ByteVector.length`

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed ExE Boss requested to merge exe-boss/asm:feat/byte-vector/add-size-getter into master Mar 23, 2022
  • Overview 4
  • Commits 1
  • Pipelines 1
  • Changes 11

This adds the ByteVector.size() getter to get the current number of bytes present in the ByteVector. The name was chosen to match Collection.size().

When implementing custom Attribute subclasses, there were times when I needed to get the size of the ByteVector.


This was originally merge request !336.

Edited Mar 23, 2022 by ExE Boss
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feat/byte-vector/add-size-getter