UNPKG

diamante-js-xdr

Version:

Read/write XDR encoded data structures (RFC 4506)

17 lines (13 loc) 375 B
import { XdrPrimitiveType } from './xdr-type'; import { XdrDefinitionError } from './errors'; export class Quadruple extends XdrPrimitiveType { static read() { throw new XdrDefinitionError('quadruple not supported'); } static write() { throw new XdrDefinitionError('quadruple not supported'); } static isValid() { return false; } }