mirror of
https://github.com/lil-org/tokenary.git
synced 2024-12-14 22:45:54 +03:00
22 lines
473 B
Swift
22 lines
473 B
Swift
//
|
|
// This source file is part of the Web3Swift.io open source project
|
|
// Copyright 2018 The Web3Swift Authors
|
|
// Licensed under Apache License v2.0
|
|
//
|
|
// RLPCollectionsAppendix.swift
|
|
//
|
|
// Created by Timofey Solonin on 10/05/2018
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public final class RLPCollectionAppendix: RLPAppendix {
|
|
|
|
public func applying(to bytes: Data) throws -> Data {
|
|
return try RLPStandardAppendix(
|
|
offset: 0xc0
|
|
).applying(to: bytes)
|
|
}
|
|
|
|
}
|