Smart Contract info

Smart Contract info

  • Contracts
  • TodoList
  • Help
  • Github
  • Blog

›COMPLEXGAMES

BASIC

  • A
  • Factory
  • Marriage
  • MyContract
  • BugSquash
  • HelloWorld

BASIC / ECOM

  • Customer
  • Supplier

COMPLEXGAMES

  • Ownable
  • blackJack
  • PowerEther
  • Buffer
  • CBOR
  • OraclizeAddrResolverI
  • OraclizeI
  • Ownable
  • PowerEtherBase
  • PowerEtherHelper
  • PowerFour
  • PowerOne
  • PowerTwo
  • SafeMath
  • strings
  • usingOraclize

DATASTRUCT

  • LinkedList
  • Stack

FINANCE

  • CrowdBank
  • Mortgage

GAMES

  • CasinoRoulette
  • Itontine
  • Cplayer
  • Ctontine
  • PredictionMarket
  • RNGLottery
  • RecurringLottery
  • Roulette
  • SatoshiDice
  • SimpleLottery
  • WhatDoesNadiaThink

OTHER

  • e0x

OTHER / CREDVERT

  • ApplicantFactory
  • CredentialOrgFactory
  • CredentialFactory
  • CredentialOrgFactory
  • CredentialOrgFactory
  • Ownable
  • Pausable
  • SafeMath32

OTHER / MARKETPLACE

  • DigitalLocker
  • WorkbenchBase

SCHEMES

  • Government
  • GradualPonzi
  • SimplePonzi
  • SimplePyramid

TOKENS

  • BasicToken
  • ERC20
  • TokenSale

TOKENS / ATTENDANCETOKEN

  • EIP20
  • EIP20Interface
  • Migrations
  • ApproveAndCallFallBack
  • AttendanceCoinMembers
  • ERC20Interface
  • FixedSupplyToken
  • Owned
  • SafeMath
  • ApproveAndCallFallBack
  • ERC20Interface
  • FixedSupplyToken
  • Owned
  • SafeMath

UTIL

  • MarriageInvestment
  • Stock
  • SafeMath
  • Welfare
  • PromiseBox

UNCATEGORIZED

  • Authentication
  • TodoList
  • Users

Buffer

library Buffer

Source: contracts/complexgames/PowerEther.sol

Index

  • append
  • append
  • appendInt
  • init

Reference

Functions

  • append

    function append(buffer buf, bytes data) internal pure returns (buffer)

    Appends a byte array to the end of the buffer. Resizes if doing so would exceed the capacity of the buffer.

    Parameters:
    buf - The buffer to append to.
    data - The data to append.
    Returns:
    The original buffer.
  • append

    function append(buffer buf, uint8 data) internal pure

    Appends a byte to the end of the buffer. Resizes if doing so would exceed the capacity of the buffer.

    Parameters:
    buf - The buffer to append to.
    data - The data to append.
    Returns:
    The original buffer.
  • appendInt

    function appendInt(buffer buf, uint data, uint len) internal pure returns (buffer)

    Appends a byte to the end of the buffer. Resizes if doing so would exceed the capacity of the buffer.

    Parameters:
    buf - The buffer to append to.
    data - The data to append.
    len - uint
    Returns:
    The original buffer.
  • init

    function init(buffer buf, uint _capacity) internal pure
    Parameters:
    buf - buffer
    _capacity - uint
← PowerEtherCBOR →
Smart Contract info
Docs
Getting Started (or other categories)Guides (or other categories)API Reference (or other categories)
Community
User ShowcaseStack OverflowProject ChatTwitter
More
BlogGitHubStar
Copyright © 2019 David Li