getF64.lua 786 B

12345678910111213141516171819202122232425262728293031323334353637
  1. return {
  2. summary = 'Unpack 64-bit floating point numbers from the Blob.',
  3. description = 'Returns 64-bit floating point numbers from the data in the Blob.',
  4. arguments = {
  5. offset = {
  6. type = 'number',
  7. default = '0',
  8. description = 'A non-negative byte offset to read from.'
  9. },
  10. count = {
  11. type = 'number',
  12. default = '1',
  13. description = 'The number of doubles to read.'
  14. }
  15. },
  16. returns = {
  17. ['...'] = {
  18. type = 'number',
  19. description = '`count` 64-bit doubles.'
  20. }
  21. },
  22. variants = {
  23. {
  24. arguments = { 'offset', 'count' },
  25. returns = { '...' }
  26. }
  27. },
  28. related = {
  29. 'Blob:getI8',
  30. 'Blob:getU8',
  31. 'Blob:getI16',
  32. 'Blob:getU16',
  33. 'Blob:getI32',
  34. 'Blob:getU32',
  35. 'Blob:getF32'
  36. }
  37. }